#!/bin/bash
if [ $# -lt 1 ]
then
  echo "start or stop???"
  exit
fi

case $1 in
start)
	/opt/module/hbase/bin/start-hbase.sh
;;
stop)
	/opt/module/hbase/bin/stop-hbase.sh
;;
*)
  echo "args is error"
;;
esac